<!-- index.html -->
<!DOCTYPE html>
<html>
<meta charset="utf-8">

<body>
<div style="text-align: center;">
    <button style="font-size: 30px;" type="button" onclick="compute()">计算应用侧的乘法</button>
</div>
<div id="info">

</div>
</body>
<script type="text/javascript">
    function compute() {
      let multiplier = multipObj.getMultiplier("");
      let multiplicand = multipObj.getMultiplicand("");
      let product = Number(multiplier) * Number(multiplicand)
      multipObj.setProduct(product.toFixed(3));
    }

    function setbackcolor(color) {
      document.body.style.backgroundColor = color;
    }
</script>

</html>